package com.spring.framework.spel;

import java.util.*;

public class SpelBean {
    private String property1;
    private int property2;
    private Birth birth;
    private String[] strings;
    private List<String> stringList;
    private Set<String> stringSet;
    private Map<Object, Object> objectObjectMap;
    private Properties properties;

    public SpelBean() {
    }

    public SpelBean(Birth birth) {
        this.birth = birth;
    }

    public SpelBean(String property1, Birth birth) {
        this.property1 = property1;
        this.birth = birth;
    }

    public String getProperty1() {
        return property1;
    }

    public void setProperty1(String property1) {
        this.property1 = property1;
    }

    public int getProperty2() {
        return property2;
    }

    public void setProperty2(int property2) {
        this.property2 = property2;
    }

    public Birth getBirth() {
        return birth;
    }

    public void setBirth(Birth birth) {
        this.birth = birth;
    }

    public String[] getStrings() {
        return strings;
    }

    public void setStrings(String[] strings) {
        this.strings = strings;
    }

    public List<String> getStringList() {
        return stringList;
    }

    public void setStringList(List<String> stringList) {
        this.stringList = stringList;
    }

    public Set<String> getStringSet() {
        return stringSet;
    }

    public void setStringSet(Set<String> stringSet) {
        this.stringSet = stringSet;
    }

    public Map<Object, Object> getObjectObjectMap() {
        return objectObjectMap;
    }

    public void setObjectObjectMap(Map<Object, Object> objectObjectMap) {
        this.objectObjectMap = objectObjectMap;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    @Override
    public String toString() {
        return "SpelBean{" +
                "property1='" + property1 + '\'' +
                ", property2=" + property2 +
                ", birth=" + birth +
                ", strings=" + Arrays.toString(strings) +
                ", stringList=" + stringList +
                ", stringSet=" + stringSet +
                ", objectObjectMap=" + objectObjectMap +
                ", properties=" + properties +
                '}';
    }
}

